﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class NguoiDungDto
    {
        #region ThuocTinh
        
        private int m_Ma;
        private String m_TenDangNhap;
        private String m_MatKhau;
        private String m_HoTen;
        private DateTime m_NgaySinh;
        private String m_DiaChi;
        private String m_DienThoai;
        private String m_Email;
        private String m_SoTaiKhoan ;
        private int m_Diem ;
        private int m_LoaiNguoiDung;
        private String m_TrangThai;
        
        #endregion ThuocTinh

        #region PhuongThuc

        public int Ma
        {
            get { return this.m_Ma; }
            set { this.m_Ma = value; }
        }

        public String TenDangNhap
        {
            get { return this.m_TenDangNhap; }
            set { this.m_TenDangNhap = value; }
        }

        public String MatKhau
        {
            get { return this.m_MatKhau; }
            set { this.m_MatKhau = value; }
        }

        public String HoTen
        {
            get { return this.m_HoTen; }
            set { this.m_HoTen = value; }
        }

        public DateTime NgaySinh
        {
            get { return this.m_NgaySinh; }
            set { this.m_NgaySinh = value; }
        }

        public String DiaChi
        {
            get { return this.m_DiaChi; }
            set { this.m_DiaChi = value; }
        }

        public String DienThoai
        {
            get { return this.m_DienThoai; }
            set { this.m_DienThoai = value; }
        }

        public String Email
        {
            get { return this.m_Email; }
            set { this.m_Email = value; }
        }

        public String SoTaiKhoan
        {
            get { return this.m_SoTaiKhoan; }
            set { this.m_SoTaiKhoan = value; }
        }

        public int Diem
        {
            get { return this.m_Diem; }
            set { this.m_Diem = value; }
        }

        public int LoaiNguoiDung
        {
            get { return this.m_LoaiNguoiDung; }
            set { this.m_LoaiNguoiDung = value; }
        }

        public String TrangThai
        {
            get { return this.m_TrangThai; }
            set { this.m_TrangThai = value; }
        }
      
        #endregion PhuongThuc

        public NguoiDungDto()
        {
            m_SoTaiKhoan = "00000";
            m_Diem = 0;
            m_TrangThai = "unactive";
        }
    }
}
